package com.tech.pattern.template;

public class Client {

    public static void main(String[] args) {
        // 测试模板方法
        AbstractClass claA = new ConcreteClassA();
        claA.templateMethod();
        AbstractClass claB = new ConcreteClassB();
        claB.templateMethod();
    }
}
